﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <link href="@Url.Content("~/Content/themes/dark-hive/jquery-ui-1.8.21.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/slider.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/imageScroller.css")" rel="stylesheet" type="text/css" />
    @Content.Script("jquery-1.7.2.min.js", Url)
    @Content.Script("modernizr-1.7.min.js", Url)
    @Content.Script("sliderScript.js", Url)
    @Content.Script("jquery.validate.min.js", Url)
    @Content.Script("jquery.validate.unobtrusive.min.js", Url)
    @Content.Script("jquery-ui-1.8.11.min.js", Url)
    @Content.Script("maguenBrokers.js", Url)
    @Content.Script("jquery.ui.accordion.js", Url)
    @Content.Script("jquery.ui.core.js", Url)
    @Content.Script("jquery.ui.widget.js", Url)
    <title>@ViewBag.Title
    </title>
    <script>
        $(function () {
            $("#accordion").accordion({
                event: "mouseover"
            });
        });
        $(document).ready(function () {

            // store url for current page as global variable
            current_page = document.location.href

            // apply selected states depending on current page
            if (current_page.match(/SeguroVehiculo/)) {
                $("ul#menuLayout li:eq(1)").addClass('selected');
            } else if (current_page.match(/SegurosViaje/)) {
                $("ul#menuLayout li:eq(2)").addClass('selected');
            } else if (current_page.match(/SeguroHogar/)) {
                $("ul#menuLayout li:eq(3)").addClass('selected');
            } else if (current_page.match(/SeguroVida/)) {
                $("ul#menuLayout li:eq(4)").addClass('selected');
            } else if (current_page.match(/SeguroArt/)) {
                $("ul#menuLayout li:eq(5)").addClass('selected');
            } else if (current_page.match(/SeguroAgro/)) {
                $("ul#menuLayout li:eq(6)").addClass('selected');
            } else if (current_page.match(/Contacto/)) {
                $("ul#menuLayout li:eq(7)").addClass('selected');
            } else { // don't mark any nav links as selected
                $("ul#menuLayout li:eq(0)").addClass('selected');
            };

        });
    </script>
</head>
<body>
    <div id="art-page-background-glade-wrapper">
        <div id="art-page-background-glare">
        </div>
        <a href="../">
            <div class="art-headerobject">
            </div>
        </a>
    </div>
    <div class="page">
        <header>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menuLayout">
                    <li>@Html.ActionLink("Inicio", "Index", "Home")</li>
                    <li>@Html.ActionLink("Seguro para Vehiculos", "Principal", "SeguroVehiculo")</li>
                    <li>@Html.ActionLink("Seguro de Viajes", "Principal", "SegurosViaje")</li>
                    <li>@Html.ActionLink("Hogar", "Principal", "SeguroHogar")</li>
                    <li>@Html.ActionLink("Vida", "Principal", "SeguroVida")</li>
                    <li>@Html.ActionLink("ART", "Principal", "SeguroArt")</li>
                    <li>@Html.ActionLink("Agro", "Principal", "SeguroAgro")</li>
                    <li>@Html.ActionLink("Contacto", "Index", "Home")</li>
                </ul>
            </nav>
        </header>
        <section id="mainLayout">
             @RenderBody()
        </section>
        <footer>
        <strong> Copyright © 2012.<a href="http://www.vidadigitalchaco.com.ar">Vida Digital.</a> Términos de uso.</strong>
        </footer>
    </div>
</body>
</html>
